<?php $this->load->view('layout/header'); ?>
<div id="container">
    <!--导航开始-->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_nav">
        <tr>
            <td>
                调查结果管理&gt;管理列表(<span style="color: red;"><?php echo $info['surveyname']?></span>)
            </td>
        </tr>
    </table>
    <!--导航结束-->
    <!--操作选项开始-->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_op">
        <tr>
            <td>
                操作选项：
                <a onclick="javascript:return checkDel(this);" name="surveyresultid" href="javascript:;" src="<?php echo site_url('survey/delete_result').'/'.$info['surveyid'].'/';?>">删除调查</a>
                <a href="<?php echo site_url('survey/index')?>">返回调查列表</a>
            </td>
        </tr>
    </table>
    <!--操作选项结束-->
    <!--列表开始-->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_list" id="TbList">
        <tr class="table_list_title">
            <td style="width: 2%">
                <input type="checkbox" name="checkbox" value="checkbox" onclick="javascript:checkAll(this,'surveyresultid')" />
            </td>
            <td style="width: 5%" onclick="javascript:GoTo('?OrderKey=ConfigID&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
                编号
            </td>
            <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=LanguageVer&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
                调查结果
            </td>
            <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=WebsiteName&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
                提交IP
            </td>
            <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=AddTime&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
                提交时间
            </td>
        </tr>
        <?php foreach($list as $key=>$val) : ?>
            <tr class="table_list_row_normal">
                <td style="width: 2%">
                    <input name="surveyresultid" type="checkbox" id="surveyresultid" value="<?php echo $val['surveyresultid'];?>"  />
                </td>
                <td style="width: 5%" >
                    <?php echo $val['surveyresultid']?>
                </td>
                <td style="width: 10%" >
                    <a href="<?php echo site_url('survey/surveyresult_add').'/'.$val['surveyresultid'];?>">
                        调查结果<?php echo $key+1?>
                    </a>
                </td>
                <td style="width: 10%" >
                    <?php echo $val['ip']?>
                </td>
                <td style="width: 10%" >
                    <?php echo $val['addtime']?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>
    <?php $pagination->show();?>
    <script src="/static/bk/js/table.js" type="text/javascript"></script>
<?php $this->load->view('layout/footer'); ?>